﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TreeView.aspx.cs" Inherits="TreeView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">   
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager> 
    <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        This the Tree View Sample
                    </td>
                </tr>
                <tr>
                    <td>
                        Drive:&nbsp;<asp:DropDownList runat="server" ID="ddlDrive" AutoPostBack="true" 
                            onselectedindexchanged="ddlDrive_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TreeView ID="tvFolders" ShowLines="true" runat="server" 
                            ontreenodeexpanded="tvFolders_TreeNodeExpanded" >
                            <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="blue" 
  HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" />
<ParentNodeStyle Font-Bold="True" ForeColor="black" />
<SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" 
  VerticalPadding="0px" />

                        </asp:TreeView>
                    </td>
                </tr>
            </table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
